{% extends "base.html" %}
{% block title %}RustDesk{% endblock %}
{% block legend_name %}Edit Client{% endblock %}
{% block content %}
<div style="padding: 20px; background-color: #F2F2F2;">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md15">
        <div class="layui-card">
          <div class="layui-card-header">{{ "Edit Peer" }} {{ peer.rid }}</div>
          <div class="layui-card-body">
            <form action="/api/edit_peer" method="post" enctype="multipart/form-data">
                <label for="{{ form.clientID.id_for_label }}">Client Rustdesk ID:</label>
                {{ form.clientID }}<br><br>
                <label for="{{ form.alias.id_for_label }}">Alias:</label>
                {{ form.alias }}<br><br>
                <label for="{{ form.tags.id_for_label }}">Tags:</label>
                {{ form.tags }}<br><br>
                <label for="{{ form.username.id_for_label }}">System Username:</label>
                {{ form.username }}<br><br>
                <label for="{{ form.hostname.id_for_label }}">Computer Name:</label>
                {{ form.hostname }}<br><br>
                <label for="{{ form.platform.id_for_label }}">Platform:</label>
                {{ form.platform }}<br><br>
                <button type="submit">Save Client</button>
            </form>
          </div>
        </div>
    </div>
</div>
{% endblock %}